package com.cskaoyan.order.form;

import com.cskaoyan.mall.commons.result.AbstractRequest;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class OrderListRequest extends AbstractRequest {

    private Long userId;
    @NotNull
    @Min(1)
    private Integer page;
    @NotNull
    @Min(1)
    private Integer size;
    private String sort;
}
